package com.demo.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDateTime;

@Data
@ToString
@TableName("order_log")
public class OrderLog {

    private static final long serialVersionUID = 6705789782242973361L;


    /**
     * 商品id
     */
    @TableId
    private Integer id;


    /**
     * 下单数量
     */
    private Integer orderNum;

    /**
     * 商品id
     */
    private Long goodsId;

    /**
     * 订单id
     */
    private Long  orderId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;




}
